<%@ page import="java.util.Map" %>
<%@ page import="com.agw.crm.settings.domain.DicValue" %>
<%@ page import="java.util.List" %>
<%@ page import="java.util.Set" %>
<%@ page import="com.agw.crm.workbench.domain.Tran" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath() + "/";

	//从数据字典中获取到所有阶段
	List<DicValue> dvList = (List<DicValue>)application.getAttribute("stage");
	//拿到可能性集合
	Map<String,String> pMap = (Map<String,String>)application.getAttribute("pMap");
	//取出所有的key
	Set<String> set = pMap.keySet();

	//准备一个阶段分界点下标，根据可能性为0分界
	int point = 0;
	//遍历所有阶段，取出对应的可能性
	for (int i = 0; i < dvList.size(); i++) {
		DicValue dv = dvList.get(i);
		String stage = dv.getValue();

		//根据stage取得可能性
		String possibility = pMap.get(stage);
		if ("0".equals(possibility)){
			point = i;
			break;
		}
	}

%>
<!DOCTYPE html>
<html>
<head>
	<base href="<%=basePath%>">
<meta charset="UTF-8">

<link href="jquery/bootstrap_3.3.0/css/bootstrap.min.css" type="text/css" rel="stylesheet" />

<style type="text/css">
.mystage{
	font-size: 20px;
	vertical-align: middle;
	cursor: pointer;
}
.closingDate{
	font-size : 15px;
	cursor: pointer;
	vertical-align: middle;
}
</style>
	
<script type="text/javascript" src="jquery/jquery-1.11.1-min.js"></script>
<script type="text/javascript" src="jquery/bootstrap_3.3.0/js/bootstrap.min.js"></script>

<script type="text/javascript">

	//默认情况下取消和保存按钮是隐藏的
	var cancelAndSaveBtnDefault = true;
	
	$(function(){
		$("#remark").focus(function(){
			if(cancelAndSaveBtnDefault){
				//设置remarkDiv的高度为130px
				$("#remarkDiv").css("height","130px");
				//显示
				$("#cancelAndSaveBtn").show("2000");
				cancelAndSaveBtnDefault = false;
			}
		});
		
		$("#cancelBtn").click(function(){
			//显示
			$("#cancelAndSaveBtn").hide();
			//设置remarkDiv的高度为130px
			$("#remarkDiv").css("height","90px");
			cancelAndSaveBtnDefault = true;
		});
		
		$(".remarkDiv").mouseover(function(){
			$(this).children("div").children("div").show();
		});
		
		$(".remarkDiv").mouseout(function(){
			$(this).children("div").children("div").hide();
		});
		
		$(".myHref").mouseover(function(){
			$(this).children("span").css("color","red");
		});
		
		$(".myHref").mouseout(function(){
			$(this).children("span").css("color","#E6E6E6");
		});
		
		
		//阶段提示框
		$(".mystage").popover({
            trigger:'manual',
            placement : 'bottom',
            html: 'true',
            animation: false
        }).on("mouseenter", function () {
                    var _this = this;
                    $(this).popover("show");
                    $(this).siblings(".popover").on("mouseleave", function () {
                        $(_this).popover('hide');
                    });
                }).on("mouseleave", function () {
                    var _this = this;
                    setTimeout(function () {
                        if (!$(".popover:hover").length) {
                            $(_this).popover("hide")
                        }
                    }, 100);
                });
		//页面加载完毕后，加载交易历史
		showHistoryList();
	});

	function showHistoryList(){
		$.ajax({
			url : "workbench/transaction/getTranHistoryByTranId.do",
			data : {
				"tranId" : "${tran.id}"
			},
			type : "get",
			dataType : "json",
			success : function (data) {
				/*
					data
						[{交易历史1}，{交易历史2}，...]

				 */
				var html = "";
				$.each(data,function (index,element){
					html += '<tr>';
					html += '<td>'+element.stage+'</td>';
					html += '<td>'+element.money+'</td>';
					html += '<td>'+element.possibility+'</td>';
					html += '<td>'+element.expectedDate+'</td>';
					html += '<td>'+element.createTime+'</td>';
					html += '<td>'+element.createBy+'</td>';
					html += '</tr>';

				})

				$("#tranHistoryBody").html(html);
			}

		})
	}

	/*
	方法：改变交易阶段
	参数：
		stage:需要改变的阶段
		i:需要改变的下标
	 */
	function changeStage(stage,i){
		//alert(stage);
		//alert(i);

		$.ajax({
			url : "workbench/transaction/changeStage.do",
			data : {
				"id" : "${tran.id}",
				"stage" : stage,
				"money" : "${tran.money}",//交易金额
				"expectedDate" : "${tran.expectedDate}"//交易预计时间
			},
			type : "post",
			dataType : "json",
			success : function (data) {
				/*
					data
						["success":true/false,"t":交易]
				 */
				if (data.success){
					//转换成功后，需要局部刷新阶段，可能性，修改人，修改时间
					$("#stage").html(data.t.stage);
					$("#possibility").html(data.t.possibility);
					$("#editBy").html(data.t.editBy);
					$("#editTime").html(data.t.editTime);

					//刷新交易历史
					showHistoryList();

					//刷新阶段图标
					changeIcon(stage,i);
				}else {
					alert("阶段变更失败");
				}
			}

		})
	}


	//刷新阶段图标方法
	function changeIcon(stage,index1){
		//当前阶段
		var currentStage = stage;
		//当前阶段可能性
		var currentPossibility = $("#possibility").html();
		//当前阶段下标
		var index = index1;
		//正常阶段和丢失阶段分界的下标
		var point = "<%=point%>";

		/*alert(currentStage);
		alert(currentPossibility);
		alert(i);
		alert(point);*/

		//开始判断
		//如果当前阶段可能性为0，那么前7个一定是黑圈，后两个可能是红叉可能是黑叉
		if (currentPossibility==0){
			//可以使用for循环遍历下标
			for (var i = 0; i < point; i++) {
				//黑圈.....

				//先移除样式
				$("#" + i).removeClass();
				//添加新样式
				$("#" + i).addClass("glyphicon glyphicon-record mystage");
				//添加颜色
				$("#"+i).css("color","#000000");
			}

			for (var i = point; i < <%=dvList.size()%> ; i++) {
				//如果下标等于当前下标，是红叉
				if (index==i){
					//红叉....
					//先移除样式
					$("#" + i).removeClass();
					//添加新样式
					$("#" + i).addClass("glyphicon glyphicon-remove mystage");
					//添加颜色
					$("#"+i).css("color","#FF0000");

					//如果下标不等于当前下标，是黑叉
				}else {
					//黑叉...
					//先移除样式
					$("#" + i).removeClass();
					//添加新样式
					$("#" + i).addClass("glyphicon glyphicon-remove mystage");
					//添加颜色
					$("#"+i).css("color","#000000");
				}
			}

			//如果当前阶段不为0，前7个可能是绿圈、绿标、黑圈，后两个一定是黑叉
		}else {
			//遍历前七个
			for (var i = 0; i < point; i++) {
				if (i==index){
					//绿标...
					//先移除样式
					$("#" + i).removeClass();
					//添加新样式
					$("#" + i).addClass("glyphicon glyphicon-map-marker mystage");
					//添加颜色
					$("#"+i).css("color","#90F790");
				}else if (i<index){
					//绿圈...
					//先移除样式
					$("#" + i).removeClass();
					//添加新样式
					$("#" + i).addClass("glyphicon glyphicon-ok-circle mystage");
					//添加颜色
					$("#"+i).css("color","#90F790");
				}else {
					//黑圈...
					//先移除样式
					$("#" + i).removeClass();
					//添加新样式
					$("#" + i).addClass("glyphicon glyphicon-record mystage");
					//添加颜色
					$("#"+i).css("color","#000000");
				}
			}

			//遍历后两个
			for (var i = point; i < <%=dvList.size()%> ; i++) {
				//黑叉...
				//先移除样式
				$("#" + i).removeClass();
				//添加新样式
				$("#" + i).addClass("glyphicon glyphicon-remove mystage");
				//添加颜色
				$("#"+i).css("color","#000000");
			}
		}

	}


</script>

</head>
<body>
	
	<!-- 返回按钮 -->
	<div style="position: relative; top: 35px; left: 10px;">
		<a href="javascript:void(0);" onclick="window.history.back();"><span class="glyphicon glyphicon-arrow-left" style="font-size: 20px; color: #DDDDDD"></span></a>
	</div>
	
	<!-- 大标题 -->
	<div style="position: relative; left: 40px; top: -30px;">
		<div class="page-header">
			<h3>${tran.customerId}-${tran.name} <small>￥${tran.money}</small></h3>
		</div>
		<div style="position: relative; height: 50px; width: 250px;  top: -72px; left: 700px;">
			<button type="button" class="btn btn-default" onclick="window.location.href='edit.html';"><span class="glyphicon glyphicon-edit"></span> 编辑</button>
			<button type="button" class="btn btn-danger"><span class="glyphicon glyphicon-minus"></span> 删除</button>
		</div>
	</div>

	<!-- 阶段状态 -->
	<div style="position: relative; left: 40px; top: -50px;">
		阶段&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<%
			//准备当前阶段
			Tran tran =(Tran) request.getAttribute("tran");
			String currentStage = tran.getStage();
			//准备当前阶段对应的可能性
			String currentPossibility = pMap.get(currentStage);

			//判断当前阶段
			//如果当前阶段对应的可能性为0，那么前七个为黑圈，后两个可能是红叉，也可能是黑叉
			if ("0".equals(currentPossibility)){
				//遍历所有阶段
				for (int i = 0; i < dvList.size(); i++) {
					//拿到阶段
					DicValue dv = dvList.get(i);
					//拿到阶段对应的可能性
					String listStage = dv.getValue();
					String listPossibility = pMap.get(listStage);

					//如果阶段可能性为0，那么应该是红叉或者黑叉
					if ("0".equals(listPossibility)){
						//如果拿到的阶段和当前阶段相等应该是红叉
						if (listStage.equals(currentStage)){
							//红叉...............................

				%>
						<span id="<%=i%>" onclick="changeStage('<%=listStage%>','<%=i%>')"
							  class="glyphicon glyphicon-remove mystage"
							  data-toggle="popover" data-placement="bottom"
							  data-content="<%=dv.getText()%>" style="color: #FF0000;"></span>
						-----------
				<%


							//不相等为黑叉
						}else {
							//黑叉..........................

				%>
						<span id="<%=i%>" onclick="changeStage('<%=listStage%>','<%=i%>')"
							  class="glyphicon glyphicon-remove mystage"
							  data-toggle="popover" data-placement="bottom"
							  data-content="<%=dv.getText()%>" style="color: #000000;"></span>
						-----------

				<%
						}

						//如果阶段可能性不为0，那么应该是黑圈
					}else {
						//黑圈.....................

				%>
						<span id="<%=i%>" onclick="changeStage('<%=listStage%>','<%=i%>')"
							  class="glyphicon glyphicon-record mystage"
							  data-toggle="popover" data-placement="bottom"
							  data-content="<%=dv.getText()%>" style="color: #000000;"></span>
						-----------

				<%
					}
				}

			//如果当前阶段对应的可能性不为0，说明后两个一定是黑圈，前七个不一定
			}else{
				int index = 0;
				//先拿到当前阶段的下标，后面要使用下标判断前七个是绿圈还是绿标还是黑圈，
				for (int i = 0; i < dvList.size(); i++) {
					DicValue dv = dvList.get(i);
					String stage = dv.getValue();
					String possibility = pMap.get(stage);

					//根据阶段可能性与当前阶段可能性进行判断
					if (possibility.equals(currentPossibility)){
						index = i;
					}
				}

				//遍历所有阶段
				for (int i = 0; i < dvList.size(); i++) {
					//拿到阶段
					DicValue dv = dvList.get(i);
					//拿到阶段对应的可能性
					String listStage = dv.getValue();
					String listPossibility = pMap.get(listStage);

					//如果阶段可能性为0，为黑叉
					if ("0".equals(listPossibility)){

						//黑叉......................
				%>
						<span id="<%=i%>" onclick="changeStage('<%=listStage%>','<%=i%>')"
							  class="glyphicon glyphicon-remove mystage"
							  data-toggle="popover" data-placement="bottom"
							  data-content="<%=dv.getText()%>" style="color: #000000;"></span>
						-----------

				<%
					}else {

						//如果阶段下标等于当前阶段下标，为绿标
						if (i==index){
							//绿标..................
				%>
						<span id="<%=i%>" onclick="changeStage('<%=listStage%>','<%=i%>')"
							  class="glyphicon glyphicon-map-marker mystage"
							  data-toggle="popover" data-placement="bottom"
							  data-content="<%=dv.getText()%>" style="color: #90F790;"></span>
						-----------

				<%
							//如果阶段下标小于当前阶段下标，为绿圈
						}else if (i < index){
							//绿圈.....................
				%>
						<span id="<%=i%>" onclick="changeStage('<%=listStage%>','<%=i%>')"
							  class="glyphicon glyphicon-ok-circle mystage"
							  data-toggle="popover" data-placement="bottom"
							  data-content="<%=dv.getText()%>" style="color: #90F790;"></span>
						-----------

				<%
							//如果阶段可能性大于当前阶段可能性，可能为黑圈
						}else {
							//黑拳...................
				%>
						<span id="<%=i%>" onclick="changeStage('<%=listStage%>','<%=i%>')"
							  class="glyphicon glyphicon-record mystage"
							  data-toggle="popover" data-placement="bottom"
							  data-content="<%=dv.getText()%>" style="color: #000000;"></span>
						-----------

				<%
						}
					}

				}

			}
		%>
		<%--<span class="glyphicon glyphicon-ok-circle mystage" data-toggle="popover" data-placement="bottom" data-content="资质审查" style="color: #90F790;"></span>
		-----------
		<span class="glyphicon glyphicon-ok-circle mystage" data-toggle="popover" data-placement="bottom" data-content="需求分析" style="color: #90F790;"></span>
		-----------
		<span class="glyphicon glyphicon-ok-circle mystage" data-toggle="popover" data-placement="bottom" data-content="价值建议" style="color: #90F790;"></span>
		-----------
		<span class="glyphicon glyphicon-ok-circle mystage" data-toggle="popover" data-placement="bottom" data-content="确定决策者" style="color: #90F790;"></span>
		-----------
		<span class="glyphicon glyphicon-map-marker mystage" data-toggle="popover" data-placement="bottom" data-content="提案/报价" style="color: #90F790;"></span>
		-----------
		<span class="glyphicon glyphicon-record mystage" data-toggle="popover" data-placement="bottom" data-content="谈判/复审"></span>
		-----------
		<span class="glyphicon glyphicon-record mystage" data-toggle="popover" data-placement="bottom" data-content="成交"></span>
		-----------
		<span class="glyphicon glyphicon-record mystage" data-toggle="popover" data-placement="bottom" data-content="丢失的线索"></span>
		-----------
		<span class="glyphicon glyphicon-record mystage" data-toggle="popover" data-placement="bottom" data-content="因竞争丢失关闭"></span>
		-------------%>
		<span class="closingDate">2010-10-10</span>
	</div>
	
	<!-- 详细信息 -->
	<div style="position: relative; top: 0px;">
		<div style="position: relative; left: 40px; height: 30px;">
			<div style="width: 300px; color: gray;">所有者</div>
			<div style="width: 300px;position: relative; left: 200px; top: -20px;"><b>${tran.owner}</b></div>
			<div style="width: 300px;position: relative; left: 450px; top: -40px; color: gray;">金额</div>
			<div style="width: 300px;position: relative; left: 650px; top: -60px;"><b>${tran.money}</b></div>
			<div style="height: 1px; width: 400px; background: #D5D5D5; position: relative; top: -60px;"></div>
			<div style="height: 1px; width: 400px; background: #D5D5D5; position: relative; top: -60px; left: 450px;"></div>
		</div>
		<div style="position: relative; left: 40px; height: 30px; top: 10px;">
			<div style="width: 300px; color: gray;">名称</div>
			<div style="width: 300px;position: relative; left: 200px; top: -20px;"><b>${tran.name}</b></div>
			<div style="width: 300px;position: relative; left: 450px; top: -40px; color: gray;">预计成交日期</div>
			<div style="width: 300px;position: relative; left: 650px; top: -60px;"><b>${tran.expectedDate}</b></div>
			<div style="height: 1px; width: 400px; background: #D5D5D5; position: relative; top: -60px;"></div>
			<div style="height: 1px; width: 400px; background: #D5D5D5; position: relative; top: -60px; left: 450px;"></div>
		</div>
		<div style="position: relative; left: 40px; height: 30px; top: 20px;">
			<div style="width: 300px; color: gray;">客户名称</div>
			<div style="width: 300px;position: relative; left: 200px; top: -20px;"><b>${tran.customerId}</b></div>
			<div style="width: 300px;position: relative; left: 450px; top: -40px; color: gray;">阶段</div>
			<div style="width: 300px;position: relative; left: 650px; top: -60px;"><b id="stage">${tran.stage}</b></div>
			<div style="height: 1px; width: 400px; background: #D5D5D5; position: relative; top: -60px;"></div>
			<div style="height: 1px; width: 400px; background: #D5D5D5; position: relative; top: -60px; left: 450px;"></div>
		</div>
		<div style="position: relative; left: 40px; height: 30px; top: 30px;">
			<div style="width: 300px; color: gray;">类型</div>
			<div style="width: 300px;position: relative; left: 200px; top: -20px;"><b>${tran.type}</b></div>
			<div style="width: 300px;position: relative; left: 450px; top: -40px; color: gray;">可能性</div>
			<div style="width: 300px;position: relative; left: 650px; top: -60px;"><b id="possibility">${tran.possibility}</b></div>
			<div style="height: 1px; width: 400px; background: #D5D5D5; position: relative; top: -60px;"></div>
			<div style="height: 1px; width: 400px; background: #D5D5D5; position: relative; top: -60px; left: 450px;"></div>
		</div>
		<div style="position: relative; left: 40px; height: 30px; top: 40px;">
			<div style="width: 300px; color: gray;">来源</div>
			<div style="width: 300px;position: relative; left: 200px; top: -20px;"><b>${tran.source}</b></div>
			<div style="width: 300px;position: relative; left: 450px; top: -40px; color: gray;">市场活动源</div>
			<div style="width: 300px;position: relative; left: 650px; top: -60px;"><b>${tran.activityId}</b></div>
			<div style="height: 1px; width: 400px; background: #D5D5D5; position: relative; top: -60px;"></div>
			<div style="height: 1px; width: 400px; background: #D5D5D5; position: relative; top: -60px; left: 450px;"></div>
		</div>
		<div style="position: relative; left: 40px; height: 30px; top: 50px;">
			<div style="width: 300px; color: gray;">联系人名称</div>
			<div style="width: 500px;position: relative; left: 200px; top: -20px;"><b>${tran.contactsId}</b></div>
			<div style="height: 1px; width: 550px; background: #D5D5D5; position: relative; top: -20px;"></div>
		</div>
		<div style="position: relative; left: 40px; height: 30px; top: 60px;">
			<div style="width: 300px; color: gray;">创建者</div>
			<div style="width: 500px;position: relative; left: 200px; top: -20px;"><b>${tran.createBy}&nbsp;&nbsp;</b><small style="font-size: 10px; color: gray;">${tran.createTime}</small></div>
			<div style="height: 1px; width: 550px; background: #D5D5D5; position: relative; top: -20px;"></div>
		</div>
		<div style="position: relative; left: 40px; height: 30px; top: 70px;">
			<div style="width: 300px; color: gray;">修改者</div>
			<div style="width: 500px;position: relative; left: 200px; top: -20px;"><b id="editBy">${tran.editBy}&nbsp;&nbsp;</b><small id="editTime" style="font-size: 10px; color: gray;">${tran.editTime}</small></div>
			<div style="height: 1px; width: 550px; background: #D5D5D5; position: relative; top: -20px;"></div>
		</div>
		<div style="position: relative; left: 40px; height: 30px; top: 80px;">
			<div style="width: 300px; color: gray;">描述</div>
			<div style="width: 630px;position: relative; left: 200px; top: -20px;">
				<b>
					${tran.description}
				</b>
			</div>
			<div style="height: 1px; width: 850px; background: #D5D5D5; position: relative; top: -20px;"></div>
		</div>
		<div style="position: relative; left: 40px; height: 30px; top: 90px;">
			<div style="width: 300px; color: gray;">联系纪要</div>
			<div style="width: 630px;position: relative; left: 200px; top: -20px;">
				<b>
					${tran.contactSummary}
				</b>
			</div>
			<div style="height: 1px; width: 850px; background: #D5D5D5; position: relative; top: -20px;"></div>
		</div>
		<div style="position: relative; left: 40px; height: 30px; top: 100px;">
			<div style="width: 300px; color: gray;">下次联系时间</div>
			<div style="width: 500px;position: relative; left: 200px; top: -20px;"><b>${tran.nextContactTime}</b></div>
			<div style="height: 1px; width: 400px; background: #D5D5D5; position: relative; top: -20px;"></div>
		</div>
	</div>
	
	<!-- 备注 -->
	<div style="position: relative; top: 100px; left: 40px;">
		<div class="page-header">
			<h4>备注</h4>
		</div>
		
		<!-- 备注1 -->
		<div class="remarkDiv" style="height: 60px;">
			<img title="zhangsan" src="image/user-thumbnail.png" style="width: 30px; height:30px;">
			<div style="position: relative; top: -40px; left: 40px;" >
				<h5>哎呦！</h5>
				<font color="gray">交易</font> <font color="gray">-</font> <b>动力节点-交易01</b> <small style="color: gray;"> 2017-01-22 10:10:10 由zhangsan</small>
				<div style="position: relative; left: 500px; top: -30px; height: 30px; width: 100px; display: none;">
					<a class="myHref" href="javascript:void(0);"><span class="glyphicon glyphicon-edit" style="font-size: 20px; color: #E6E6E6;"></span></a>
					&nbsp;&nbsp;&nbsp;&nbsp;
					<a class="myHref" href="javascript:void(0);"><span class="glyphicon glyphicon-remove" style="font-size: 20px; color: #E6E6E6;"></span></a>
				</div>
			</div>
		</div>
		
		<!-- 备注2 -->
		<div class="remarkDiv" style="height: 60px;">
			<img title="zhangsan" src="image/user-thumbnail.png" style="width: 30px; height:30px;">
			<div style="position: relative; top: -40px; left: 40px;" >
				<h5>呵呵！</h5>
				<font color="gray">交易</font> <font color="gray">-</font> <b>动力节点-交易01</b> <small style="color: gray;"> 2017-01-22 10:20:10 由zhangsan</small>
				<div style="position: relative; left: 500px; top: -30px; height: 30px; width: 100px; display: none;">
					<a class="myHref" href="javascript:void(0);"><span class="glyphicon glyphicon-edit" style="font-size: 20px; color: #E6E6E6;"></span></a>
					&nbsp;&nbsp;&nbsp;&nbsp;
					<a class="myHref" href="javascript:void(0);"><span class="glyphicon glyphicon-remove" style="font-size: 20px; color: #E6E6E6;"></span></a>
				</div>
			</div>
		</div>
		
		<div id="remarkDiv" style="background-color: #E6E6E6; width: 870px; height: 90px;">
			<form role="form" style="position: relative;top: 10px; left: 10px;">
				<textarea id="remark" class="form-control" style="width: 850px; resize : none;" rows="2"  placeholder="添加备注..."></textarea>
				<p id="cancelAndSaveBtn" style="position: relative;left: 737px; top: 10px; display: none;">
					<button id="cancelBtn" type="button" class="btn btn-default">取消</button>
					<button type="button" class="btn btn-primary">保存</button>
				</p>
			</form>
		</div>
	</div>
	
	<!-- 阶段历史 -->
	<div>
		<div style="position: relative; top: 100px; left: 40px;">
			<div class="page-header">
				<h4>阶段历史</h4>
			</div>
			<div style="position: relative;top: 0px;">
				<table id="activityTable" class="table table-hover" style="width: 900px;">
					<thead>
						<tr style="color: #B3B3B3;">
							<td>阶段</td>
							<td>金额</td>
							<td>可能性</td>
							<td>预计成交日期</td>
							<td>创建时间</td>
							<td>创建人</td>
						</tr>
					</thead>
					<tbody id="tranHistoryBody">
						<%--<tr>
							<td>资质审查</td>
							<td>5,000</td>
							<td>10</td>
							<td>2017-02-07</td>
							<td>2016-10-10 10:10:10</td>
							<td>zhangsan</td>
						</tr>
						<tr>
							<td>需求分析</td>
							<td>5,000</td>
							<td>20</td>
							<td>2017-02-07</td>
							<td>2016-10-20 10:10:10</td>
							<td>zhangsan</td>
						</tr>
						<tr>
							<td>谈判/复审</td>
							<td>5,000</td>
							<td>90</td>
							<td>2017-02-07</td>
							<td>2017-02-09 10:10:10</td>
							<td>zhangsan</td>
						</tr>--%>
					</tbody>
				</table>
			</div>
			
		</div>
	</div>
	
	<div style="height: 200px;"></div>
	
</body>
</html>